<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <!-- base href="https://lon-p.elastichosts.com/" -->
    <title>Escala-PerfClusters</title>
	<script type="text/javascript" src="js/prototype.js"/>
	<script type="text/javascript" src="js/scriptaculous.js"></script>
	<script type="text/javascript" src="js/builder.js"></script>
	<script type="text/javascript" src="js/effects.js"></script>
	<script type="text/javascript" src="js/dragdrop.js"></script>
	<script type="text/javascript" src="js/controls.js"></script>
	<script type="text/javascript" src="js/slider.js"></script>
	<script type="text/javascript" src="js/sound.js"></script>
    <script type="text/javascript" src="js/menu.js"></script>
    <link type="text/css" rel="stylesheet" href="css/styles.css">
  </head>
  
  <body>
    <!-- CONTENT OF PAGE -->
    <div class="content">
      <div class="container">
<form action="/accounts/config/24b34ef4-92d6-4c88-9476-cbb17784e6c1" method="post" id="server_update_form" 
		name="server_update_form" onsubmit="document.server_update_form.start_server.disabled=true;">
  <table class="visible">
    <tbody>
    <tr>
      <th>CPU<sup>5</sup></th>
      <td colspan="3" style="border-right: 0px none;">
        <div id="cputrack" class="slidertrack">
          <div class="slidertrackleft"></div>
          <div style="left: 24px; position: relative;" id="cpuhandle" class="sliderhandle selected">
            <img src="images/slider-images-handle.png" style="float: left;">
          </div>
        </div>
      </td>
      <td>
        <input id="cpu" name="cpu" size="6" value="2000" onchange="setcpu(this.value);" type="text">
        core MHz
      </td>
    </tr>

    <tr>
      <th>Memory<sup>1</sup></th>
      <td colspan="3" style="border-right: 0px none;">
        <div id="memtrack" class="slidertrack">
          <div class="slidertrackleft"></div>
          <div style="left: 30px; position: relative;" id="memhandle" class="sliderhandle selected">
            <img src="images/slider-images-handle.png" style="float: left;">
          </div>
        </div>
      </td>
      <td>
        <input id="mem" name="mem" size="6" value="1024" onchange="setmem(this.value);" type="text">
        MB
      </td>
    </tr>

    <tr>
      <th id="head_drives" name="head_drives" rowspan="3">
        Drives<sup>2</sup>
        <br>
        <a onclick='$("head_drives").rowSpan=23;
                    
                      $("row_Virtio (QEMU/KVM)").style.display = "";
                      
                        $("row_block:0").style.display = "";
                      
                        $("row_block:1").style.display = "";
                      
                        $("row_block:2").style.display = "";
                      
                        $("row_block:3").style.display = "";
                      
                        $("row_block:4").style.display = "";
                      
                        $("row_block:5").style.display = "";
                      
                        $("row_block:6").style.display = "";
                      
                        $("row_block:7").style.display = "";

                       $("row_SCSI (experimental)").style.display = "";
                      
                        $("row_scsi:0:0").style.display = "";
                      
                        $("row_scsi:0:1").style.display = "";
                      
                        $("row_scsi:0:2").style.display = "";
                      
                        $("row_scsi:0:3").style.display = "";
                      
                        $("row_scsi:0:4").style.display = "";
                      
                        $("row_scsi:0:5").style.display = "";
                      
                        $("row_scsi:0:6").style.display = "";

                      $("row_IDE").style.display = "";
                      
                        $("row_ide:0:0").style.display = "";
                      
                        $("row_ide:0:1").style.display = "";
                      
                        $("row_ide:1:0").style.display = "";
                      
                        $("row_ide:1:1").style.display = "";
                      
                    '>(expand)</a>
      </th>
      <th>Device<sup>6</sup></th>
      <th>Media</th>
      <th>Drive</th>
      <th>Boot<sup>4</sup></th>
    </tr>
    
      <tr id="row_IDE" name="row_IDE" style="display: none;">
        <td colspan="4">IDE</td>
      </tr>
      <tr id="row_SCSI (experimental)" name="row_SCSI (experimental)" style="display: none;">
        <td colspan="4">SCSI (experimental)</td>
      </tr>
      <tr id="row_Virtio (QEMU/KVM)" name="row_Virtio (QEMU/KVM)" style="display: none;">
        <td colspan="4">Virtio (QEMU/KVM)</td>
      </tr>
    <tr>
      <th>Network<sup>7</sup></th>
      <td colspan="4">
        IP address (as provided by DHCP)
        <select id="dhcp" name="dhcp">
            <optgroup label="Static IP">
                <option disabled="disabled">Add static IPs on main account page</option>
            </optgroup>
            <optgroup label="No DHCP">
                    <option value="">No DHCP</option>
            </optgroup>
            <optgroup label="Dynamic IP">
                    <option value="auto" selected="selected">Assigned at boot</option>
            </optgroup>
        </select>
      </td>
    </tr>
    <tr>
      <th>VNC<sup>3</sup></th>
      <td colspan="4">
        Password
        <input id="password" name="password" size="50" value="bRWUXept" type="text">
      </td>
    </tr>
    <tr>
      <th rowspan="5">Advanced</th>
      <td id="adv_exp" name="adv_exp" rowspan="5" colspan="5">
        <a onclick='$("adv_exp").style.display = "none"; $("adv_cores").style.display = ""; $("adv_nic_0_model").style.display = ""; $("adv_nic_1_vlan").style.display = ""; $("adv_nic_1_model").style.display = ""; $("adv_tls").style.display = "";'>(expand)</a>
      </td>
      <td id="adv_cores" name="adv_cores" colspan="5" style="display: none;">
        CPU cores simulated<sup>9</sup>
        <select id="smp" name="smp">
              <option value="auto" selected="selected">Assigned at boot based on core MHz</option>
              <option value="1">1</option>
              <option value="2">2</option>
              <option value="4">4</option>
              <option value="8">8</option>
        </select>
      </td>
    </tr>
    <tr>
      <td id="adv_nic_0_model" name="adv_nic_0_model" colspan="5" style="display: none;">
        Internet network card model<sup>8</sup>
        <select id="nic_0_model" name="nic_0_model">
              <option value="e1000" selected="selected">Intel PRO/1000 (Intel 82540EM chipset)</option>
              <option value="rtl8139">RealTek RTL8139</option>
              <option value="virtio">Virtio (QEMU/KVM)</option>
        </select>
      </td>
    </tr>
    <tr>
      <td id="adv_nic_1_vlan" name="adv_nic_1_vlan" colspan="5" style="display: none; border-bottom: 0px none;">
        Private network VLAN
        <select id="nic_1_vlan" name="nic_1_vlan">
              <option value="" selected="selected">No private network VLAN</option>
          <option disabled="disabled">Add private network VLANs on main account page</option>
        </select>
      </td>
    </tr>
    <tr>
      <td id="adv_nic_1_model" name="adv_nic_1_model" colspan="5" style="display: none;">
        Private network card model<sup>8</sup>
        <select id="nic_1_model" name="nic_1_model">
              <option selected="selected" value="e1000">Intel PRO/1000 (Intel 82540EM chipset)</option>
              <option value="rtl8139">RealTek RTL8139</option>
              <option value="virtio">Virtio (QEMU/KVM)</option>
        </select>
      </td>
    </tr>
    <tr>
      <td id="adv_tls" name="adv_tls" colspan="5" style="display: none;">
        VNC VeNCrypt TLS encryption
          <input id="vnc_tls" name="vnc_tls" type="checkbox">
      </td>
    </tr>
    <tr>
      <td colspan="5" align="center">
        <input id="form" name="form" value="server_update" type="hidden">
        <input id="configure_server" name="configure_server" value="Configure" type="submit">
        <input id="start_server_check" name="start_server_check" value="" type="hidden">
        <input id="start_server" name="start_server" value="Start" onclick='document.server_update_form.start_server_check.value="start_server"; document.server_update_form.start_server.value="Processing...";' type="submit">
        
      </td>
    </tr>
  </tbody></table>
</form>
<script type="text/javascript">
  // <![CDATA[
  var cpumin = 500;
  var cpumax = 20000;
  var memmin = 256;
  var memmax = 8192;

  var cpuslider = new Control.Slider('cpuhandle', 'cputrack', {
    sliderValue: (2000 - cpumin) / (cpumax-cpumin),
    onSlide: function(v) {
      $('cpu').value = (cpumin + v*(cpumax-cpumin)).toFixed();
    },
    onChange: function(v) {
      $('cpu').value = (cpumin + v*(cpumax-cpumin)).toFixed();
    }
  });

  var memslider = new Control.Slider('memhandle', 'memtrack', {
    sliderValue: (1024 - memmin) / (memmax-memmin),
    onSlide: function(v) {
      $('mem').value = (memmin + v*(memmax-memmin)).toFixed();
    },
    onChange: function(v) {
      $('mem').value = (memmin + v*(memmax-memmin)).toFixed();
    }
  });

  function setSliderValue(slider, value, minvalue, maxvalue)
  {
    if (isNaN(value))
      slider.setValue(0);
    else
      slider.setValue((value-minvalue)/(maxvalue-minvalue));
  }

  function setcpu(value)
  {
    setSliderValue(cpuslider, value, cpumin, cpumax);
  }

  function setmem(value)
  {
    setSliderValue(memslider, value, memmin, memmax);
  }
  // ]]>
</script>
    <div class="clear"></div>
</div>
</div>
    <!-- END OF CONTENT OF PAGE -->
</body></html>